﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //Read the T and C's from the text file and output them into a div

        string mapTandCFilePath = Server.MapPath("") + "/TandC.txt"; ;
        string readTandC = File.ReadAllText(mapTandCFilePath);

        TandCDiv.InnerHtml = readTandC;
    }
}
